package com.ruoyi.enterprise.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 重大事件对象 com_event
 * 
 * @author ruoyi
 * @date 2024-03-15
 */
public class ComEvent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 股票代码 */
    @Excel(name = "股票代码")
    private String stockCode;

    /** 股票名字 */
    @Excel(name = "股票名字")
    private String stockName;

    /** 事件类型 */
    @Excel(name = "事件类型")
    private String eventType;

    /** 具体类型 */
    @Excel(name = "具体类型")
    private String specificEventType;

    /** 时间 */
    @Excel(name = "时间")
    private String noticeDate;

    /** 内容1 */
    @Excel(name = "内容1")
    private String level1Content;

    /** 内容2 */
    @Excel(name = "内容2")
    private String level2Content;

    /** 创建时间 */
    private Date createTie;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStockCode(String stockCode) 
    {
        this.stockCode = stockCode;
    }

    public String getStockCode() 
    {
        return stockCode;
    }
    public void setStockName(String stockName) 
    {
        this.stockName = stockName;
    }

    public String getStockName() 
    {
        return stockName;
    }
    public void setEventType(String eventType) 
    {
        this.eventType = eventType;
    }

    public String getEventType() 
    {
        return eventType;
    }
    public void setSpecificEventType(String specificEventType) 
    {
        this.specificEventType = specificEventType;
    }

    public String getSpecificEventType() 
    {
        return specificEventType;
    }
    public void setNoticeDate(String noticeDate) 
    {
        this.noticeDate = noticeDate;
    }

    public String getNoticeDate() 
    {
        return noticeDate;
    }
    public void setLevel1Content(String level1Content) 
    {
        this.level1Content = level1Content;
    }

    public String getLevel1Content() 
    {
        return level1Content;
    }
    public void setLevel2Content(String level2Content) 
    {
        this.level2Content = level2Content;
    }

    public String getLevel2Content() 
    {
        return level2Content;
    }
    public void setCreateTie(Date createTie) 
    {
        this.createTie = createTie;
    }

    public Date getCreateTie() 
    {
        return createTie;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stockCode", getStockCode())
            .append("stockName", getStockName())
            .append("eventType", getEventType())
            .append("specificEventType", getSpecificEventType())
            .append("noticeDate", getNoticeDate())
            .append("level1Content", getLevel1Content())
            .append("level2Content", getLevel2Content())
            .append("createTie", getCreateTie())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
